package com.example;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ：czx
 * @date ：Created in 2021/6/24 17:51
 * @modified By：
 */

@SpringBootApplication
@MapperScan("com.example.mapper")
@Slf4j
public class AgentApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(AgentApplication.class, args);
            log.info("【启动成功】");
        } catch (Exception e) {
            log.error("【启动失败】{}",e);
        }
    }

}
